﻿using System;

namespace SimpleServiceBus.Messages.ControlMessages
{
    [Serializable]
    public class ReadyMessage
    {
        /// <summary>
        /// Exposes whether or not previous ready messages from the same
        /// sender should be cleared.
        /// </summary>
        public bool ClearPreviousFromThisAddress;

        /// <summary>
        /// Exposes the number of worker threads the sender is currently running.
        /// </summary>
        public int NumberOfWorkerThreads;
    }
}